\section{Tzeentch.\-Controler Class Reference}
\label{class_tzeentch_1_1_controler}\index{Tzeentch.\-Controler@{Tzeentch.\-Controler}}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Controler} ({\bf G\-U\-I} gui)
\begin{DoxyCompactList}\small\item\em Initializes a new instance of the \doxyref{Controler}{p.}{class_tzeentch_1_1_controler} class. \end{DoxyCompactList}\item 
void {\bf Initialise} ()
\begin{DoxyCompactList}\small\item\em Initialises this instance. \end{DoxyCompactList}\item 
void {\bf Setup\-G\-U\-I} ()
\begin{DoxyCompactList}\small\item\em Setups the \doxyref{G\-U\-I}{p.}{class_tzeentch_1_1_g_u_i}. \end{DoxyCompactList}\item 
void {\bf Stop\-Threads} ()
\begin{DoxyCompactList}\small\item\em Stops the threads. \end{DoxyCompactList}\item 
void {\bf Main\-Loop} ()
\begin{DoxyCompactList}\small\item\em Starts the main loop. \end{DoxyCompactList}\item 
void {\bf Cross} ()
\begin{DoxyCompactList}\small\item\em Cross members of populations with highest fitness factor. \end{DoxyCompactList}\item 
void {\bf Selection} ()
\begin{DoxyCompactList}\small\item\em Copies elements that are better fitted then the best one in previous population \end{DoxyCompactList}\item 
void {\bf Mutate\-Population} ()
\begin{DoxyCompactList}\small\item\em Mutates the population. \end{DoxyCompactList}\item 
void {\bf Generate\-Bitmaps} ()
\begin{DoxyCompactList}\small\item\em Generates the bitmaps. \end{DoxyCompactList}\item 
void {\bf Count\-Fitness} ()
\begin{DoxyCompactList}\small\item\em Counts the fitness. \end{DoxyCompactList}\item 
void {\bf Refresh\-G\-U\-I} (bool only\-Progress\-Bar)
\begin{DoxyCompactList}\small\item\em Refreshes the \doxyref{G\-U\-I}{p.}{class_tzeentch_1_1_g_u_i}. \end{DoxyCompactList}\item 
void {\bf Create\-New\-Population} ()
\begin{DoxyCompactList}\small\item\em Creates the new population. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Properties}
\begin{DoxyCompactItemize}
\item 
int {\bf Number\-Of\-Iterations}\hspace{0.3cm}{\ttfamily  [get, set]}
\begin{DoxyCompactList}\small\item\em Gets or sets the number of iterations. \end{DoxyCompactList}\item 
bool {\bf Enable\-Visualisation}\hspace{0.3cm}{\ttfamily  [get, set]}
\begin{DoxyCompactList}\small\item\em Gets or sets a value indicating whether visualisation is enabled. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Constructor \& Destructor Documentation}
\index{Tzeentch\-::\-Controler@{Tzeentch\-::\-Controler}!Controler@{Controler}}
\index{Controler@{Controler}!Tzeentch::Controler@{Tzeentch\-::\-Controler}}
\subsubsection[{Controler}]{\setlength{\rightskip}{0pt plus 5cm}Tzeentch.\-Controler.\-Controler (
\begin{DoxyParamCaption}
\item[{{\bf G\-U\-I}}]{gui}
\end{DoxyParamCaption}
)}\label{class_tzeentch_1_1_controler_a1df64e80aa2b2bbda709878ccefb7311}


Initializes a new instance of the \doxyref{Controler}{p.}{class_tzeentch_1_1_controler} class. 


\begin{DoxyParams}{Parameters}
{\em gui} & The \doxyref{G\-U\-I}{p.}{class_tzeentch_1_1_g_u_i}.\\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\index{Tzeentch\-::\-Controler@{Tzeentch\-::\-Controler}!Count\-Fitness@{Count\-Fitness}}
\index{Count\-Fitness@{Count\-Fitness}!Tzeentch::Controler@{Tzeentch\-::\-Controler}}
\subsubsection[{Count\-Fitness}]{\setlength{\rightskip}{0pt plus 5cm}void Tzeentch.\-Controler.\-Count\-Fitness (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{class_tzeentch_1_1_controler_a1a22f46d1c3a1cd8462f6cf6dc5270fa}


Counts the fitness. 

\index{Tzeentch\-::\-Controler@{Tzeentch\-::\-Controler}!Create\-New\-Population@{Create\-New\-Population}}
\index{Create\-New\-Population@{Create\-New\-Population}!Tzeentch::Controler@{Tzeentch\-::\-Controler}}
\subsubsection[{Create\-New\-Population}]{\setlength{\rightskip}{0pt plus 5cm}void Tzeentch.\-Controler.\-Create\-New\-Population (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{class_tzeentch_1_1_controler_abd05fba82b19fbf42293de13984e88c1}


Creates the new population. 

\index{Tzeentch\-::\-Controler@{Tzeentch\-::\-Controler}!Cross@{Cross}}
\index{Cross@{Cross}!Tzeentch::Controler@{Tzeentch\-::\-Controler}}
\subsubsection[{Cross}]{\setlength{\rightskip}{0pt plus 5cm}void Tzeentch.\-Controler.\-Cross (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{class_tzeentch_1_1_controler_aa4c2d707b3a91f061ca8082ff321d982}


Cross members of populations with highest fitness factor. 

\index{Tzeentch\-::\-Controler@{Tzeentch\-::\-Controler}!Generate\-Bitmaps@{Generate\-Bitmaps}}
\index{Generate\-Bitmaps@{Generate\-Bitmaps}!Tzeentch::Controler@{Tzeentch\-::\-Controler}}
\subsubsection[{Generate\-Bitmaps}]{\setlength{\rightskip}{0pt plus 5cm}void Tzeentch.\-Controler.\-Generate\-Bitmaps (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{class_tzeentch_1_1_controler_a822e968fcf77dbef8a0f55f296981be7}


Generates the bitmaps. 

\index{Tzeentch\-::\-Controler@{Tzeentch\-::\-Controler}!Initialise@{Initialise}}
\index{Initialise@{Initialise}!Tzeentch::Controler@{Tzeentch\-::\-Controler}}
\subsubsection[{Initialise}]{\setlength{\rightskip}{0pt plus 5cm}void Tzeentch.\-Controler.\-Initialise (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{class_tzeentch_1_1_controler_a1b1feaa76143091a930dda136a2cf9ab}


Initialises this instance. 

\index{Tzeentch\-::\-Controler@{Tzeentch\-::\-Controler}!Main\-Loop@{Main\-Loop}}
\index{Main\-Loop@{Main\-Loop}!Tzeentch::Controler@{Tzeentch\-::\-Controler}}
\subsubsection[{Main\-Loop}]{\setlength{\rightskip}{0pt plus 5cm}void Tzeentch.\-Controler.\-Main\-Loop (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{class_tzeentch_1_1_controler_acf5efdb01ac01f39cdd4b2ff944d987b}


Starts the main loop. 

\index{Tzeentch\-::\-Controler@{Tzeentch\-::\-Controler}!Mutate\-Population@{Mutate\-Population}}
\index{Mutate\-Population@{Mutate\-Population}!Tzeentch::Controler@{Tzeentch\-::\-Controler}}
\subsubsection[{Mutate\-Population}]{\setlength{\rightskip}{0pt plus 5cm}void Tzeentch.\-Controler.\-Mutate\-Population (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{class_tzeentch_1_1_controler_ae6ff12caf0d1ee2f2037d24e06f02c69}


Mutates the population. 

\index{Tzeentch\-::\-Controler@{Tzeentch\-::\-Controler}!Refresh\-G\-U\-I@{Refresh\-G\-U\-I}}
\index{Refresh\-G\-U\-I@{Refresh\-G\-U\-I}!Tzeentch::Controler@{Tzeentch\-::\-Controler}}
\subsubsection[{Refresh\-G\-U\-I}]{\setlength{\rightskip}{0pt plus 5cm}void Tzeentch.\-Controler.\-Refresh\-G\-U\-I (
\begin{DoxyParamCaption}
\item[{bool}]{only\-Progress\-Bar}
\end{DoxyParamCaption}
)}\label{class_tzeentch_1_1_controler_acc12a12d3568260ac086f0915fa3b6a7}


Refreshes the \doxyref{G\-U\-I}{p.}{class_tzeentch_1_1_g_u_i}. 

\index{Tzeentch\-::\-Controler@{Tzeentch\-::\-Controler}!Selection@{Selection}}
\index{Selection@{Selection}!Tzeentch::Controler@{Tzeentch\-::\-Controler}}
\subsubsection[{Selection}]{\setlength{\rightskip}{0pt plus 5cm}void Tzeentch.\-Controler.\-Selection (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{class_tzeentch_1_1_controler_a5b31cdcfeef5fe3efeeb3ace68606f8c}


Copies elements that are better fitted then the best one in previous population 

\index{Tzeentch\-::\-Controler@{Tzeentch\-::\-Controler}!Setup\-G\-U\-I@{Setup\-G\-U\-I}}
\index{Setup\-G\-U\-I@{Setup\-G\-U\-I}!Tzeentch::Controler@{Tzeentch\-::\-Controler}}
\subsubsection[{Setup\-G\-U\-I}]{\setlength{\rightskip}{0pt plus 5cm}void Tzeentch.\-Controler.\-Setup\-G\-U\-I (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{class_tzeentch_1_1_controler_a854ec3cde5de963f80c905ac24f1748d}


Setups the \doxyref{G\-U\-I}{p.}{class_tzeentch_1_1_g_u_i}. 

\index{Tzeentch\-::\-Controler@{Tzeentch\-::\-Controler}!Stop\-Threads@{Stop\-Threads}}
\index{Stop\-Threads@{Stop\-Threads}!Tzeentch::Controler@{Tzeentch\-::\-Controler}}
\subsubsection[{Stop\-Threads}]{\setlength{\rightskip}{0pt plus 5cm}void Tzeentch.\-Controler.\-Stop\-Threads (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{class_tzeentch_1_1_controler_a4328c2bf7ec4c593cfe2a03390461eb2}


Stops the threads. 



\subsection{Property Documentation}
\index{Tzeentch\-::\-Controler@{Tzeentch\-::\-Controler}!Enable\-Visualisation@{Enable\-Visualisation}}
\index{Enable\-Visualisation@{Enable\-Visualisation}!Tzeentch::Controler@{Tzeentch\-::\-Controler}}
\subsubsection[{Enable\-Visualisation}]{\setlength{\rightskip}{0pt plus 5cm}bool Tzeentch.\-Controler.\-Enable\-Visualisation\hspace{0.3cm}{\ttfamily [get]}, {\ttfamily [set]}}\label{class_tzeentch_1_1_controler_ac2bb6d6241841a0d8d6ba63e027e1619}


Gets or sets a value indicating whether visualisation is enabled. 

{\ttfamily true} if visualisation is enabled; otherwise, {\ttfamily false}. \index{Tzeentch\-::\-Controler@{Tzeentch\-::\-Controler}!Number\-Of\-Iterations@{Number\-Of\-Iterations}}
\index{Number\-Of\-Iterations@{Number\-Of\-Iterations}!Tzeentch::Controler@{Tzeentch\-::\-Controler}}
\subsubsection[{Number\-Of\-Iterations}]{\setlength{\rightskip}{0pt plus 5cm}int Tzeentch.\-Controler.\-Number\-Of\-Iterations\hspace{0.3cm}{\ttfamily [get]}, {\ttfamily [set]}}\label{class_tzeentch_1_1_controler_a1c59cb4e79ab11a517bd1b56d12a2fe0}


Gets or sets the number of iterations. 

The number of iterations. 

The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
G\-:/format backup/projekty/\-Tzeentch/trunk/\-Tzeentch/\-Tzeentch/Controler.\-cs\end{DoxyCompactItemize}
